INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Accounting Period','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI Alert Detail','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI Alert','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI KPI Family','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI KPI Group','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI KPI Pack','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI KPI','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI Notification','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI Signal','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI User Group Member','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('ACI User Group','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Company','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Country_Region','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Customer Order Status Log','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Customer Order Status','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Customer','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Detailed Revenue Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Dimension Value','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Din_ Tbl_ Hist_ Entry Archive','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Din_ Tbl_ Rcpt_ Entry Archive','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Dining Area Plan Statistics','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Dining Area Section','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Dining Reserv_ History Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Dining Table Status','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Division','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Fraud Event','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Gen_ Business Posting Group','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Gen_ Product Posting Group','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Hosp_ Order KOT Status','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Hospitality Type','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Hotel Res_ Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Hotel Res_ Statistic','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Hotel Reservation','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Hotel Room Availability','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Hotel Rooms','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Item Category','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Item Ledger Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Item Variant','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Item','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('KOT Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('KOT Line Routing','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('KOT Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Location','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Loss Prevention Trigger','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('LS Forecast Batch','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('LS Forecast Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Member Attribute Value','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Member Attribute','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Member Club','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Member Contact','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Member Sales Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Member Scheme','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Membership Card','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Offer','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Periodic Discount','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('POS Terminal','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Posted Customer Order Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Posted Customer Order Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Product Group','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purch_ Cr_ Memo Hdr_','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purch_ Cr_ Memo Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purch_ Inv_ Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purch_ Inv_ Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purch_ Rcpt_ Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purch_ Rcpt_ Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purchase Header Archive','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purchase Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purchase Line Archive','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Purchase Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Reason Code','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Replen_ Out of Stock Log','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Replen_ Sales Hist_ Adj_','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Retail Product Group','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Retail Sales Budget Name','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Retail Setup','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Return Reason','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Sales Cr_Memo Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Sales Cr_Memo Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Sales Invoice Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Sales Invoice Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Sales Price','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Sales Type','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Salesperson_Purchaser','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Season','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Section Shelf','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Staff','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Stock Coverage','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Store Capacity','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Store Location','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Store Section','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Store','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Trans_ Discount Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Trans_ Sales Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Transaction Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Transfer Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Transfer Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Transfer Receipt Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Transfer Receipt Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Transfer Shipment Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Transfer Shipment Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Validation Period','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Value Entry','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Vendor Perf_ Header','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Vendor Perf_ Line','TRUE') 
INSERT INTO [dbo].[LSInsight$SourceTables] ([SourceTableName] ,[IncludeTable]) VALUES ('Vendor','TRUE') 



		    SELECT DISTINCT 
	 [SourceTableName]
           ,[IncludeTable]
		   INTO [dbo].[LSInsight$SourceTables_temp]
		   FROM [dbo].[LSInsight$SourceTables]

	GO
	DROP TABLE [dbo].[LSInsight$SourceTables]
	GO
	
		    SELECT 
	 [SourceTableName]
           ,[IncludeTable]
		   INTO [dbo].[LSInsight$SourceTables]
		   FROM [dbo].[LSInsight$SourceTables_temp]
		   ORDER BY [SourceTableName]

		   GO
	DROP TABLE [dbo].[LSInsight$SourceTables_temp]
